$def with(posts)
$var title:$globals.get('website_subtitle')

<div class="post_list">
$for post in posts:
	<div class="article">
		<div class="post_title">
			<h1><a href="/post/$post.id">$:post.title</a></h1>
			<p class="post_created">发布于: $post.created.strftime("%Y/%m/%d")</p>
		</div>
		<div class="post_content">$:markdown(post.content)</div>
	</div>
</div>

<script>
	Swallow.renderHighlight('pre code');
</script>